package com.ruoyi.order.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 订单管理对象 trip_order
 *
 * @author ruoyi
 * @date 2024-09-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("trip_order")
public class TripOrder extends BaseEntity implements Serializable{
private static final long serialVersionUID = 1L;

    /** 订单id */
        @TableId(value = "order_id" ,type = IdType.AUTO)
        private Long orderId;
    /** 订单编号 */
            @Excel(name = "订单编号")
        private String orderNum;
    /** 用户id */
            @Excel(name = "用户id")
        private Long userId;
    /** 司机id */
            @Excel(name = "司机id")
        private Long driverId;
    /** 出行类型id -快车/专车 */
            @Excel(name = "出行类型id -快车/专车")
        private Long tripTypeId;
    /** 订单类型 -实时单/预约 */
            @Excel(name = "订单类型 -实时单/预约")
        private Long orderType;
    /** 优惠卷id */
            @Excel(name = "优惠卷id")
        private Long couponId;
    /** 小费金额 */
            @Excel(name = "小费金额")
        private Long tipNumber;
    /** 订单信息id */
            @Excel(name = "订单信息id")
        private Long enabledOrderInfoId;
    /** 状态（0正常 1停用） */
            @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
        private String status;
    /** 删除标志（0代表存在 2代表删除） */
        @TableLogic
        private String delFlag;

        }


